remove erroneous addition from #1151. (#1157)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sat, 12 Aug 2023 21:56:45 +0000 (15:56 -0600)
committerGitHub <noreply@github.com>
Sat, 12 Aug 2023 21:56:45 +0000 (15:56 -0600)
The need for this statement was eliminated with the introduction of
wpt_flags.marked_for_deletion.

position.cc

index e4d642d9617f571c74dbc13d0e5bbc0abcbbbac8..fe5d658ca7d5bea65f19c4f8d92a73070ef0c17d 100644 (file)
@@ -39,7 +39,6 @@ void PositionFilter::position_runqueue(const WaypointList& waypt_list, int qtype
     QList<WptRecord> qlist;
   
     for (auto* const waypointp : waypt_list) {
-      waypointp->extra_data = nullptr;
       qlist.append(WptRecord(waypointp));
     }
     int nelems = qlist.size();